<?xml version="1.0" encoding="UTF-8"?>
<bpmn2:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd" id="_j--igKndEeOPp7kWFam4Mg" targetNamespace="http://camunda.org/schema/1.0/bpmn">
  <bpmn2:process id="testProcess" isExecutable="true">
    <bpmn2:startEvent id="StartEvent_1">
      <bpmn2:outgoing>SequenceFlow_1</bpmn2:outgoing>
    </bpmn2:startEvent>
    <bpmn2:userTask id="taskInMainFlow" name="task in main flow">
      <bpmn2:extensionElements>
        <camunda:executionListener class="org.camunda.bpm.engine.test.util.TestExecutionListener" event="end"/>
        <camunda:executionListener class="org.camunda.bpm.engine.test.util.TestExecutionListener" event="start"/>
      </bpmn2:extensionElements>
      <bpmn2:incoming>SequenceFlow_1</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_2</bpmn2:outgoing>
    </bpmn2:userTask>
    <bpmn2:sequenceFlow id="SequenceFlow_1" name="" sourceRef="StartEvent_1" targetRef="taskInMainFlow"/>
    <bpmn2:endEvent id="EndEvent_1">
      <bpmn2:incoming>SequenceFlow_2</bpmn2:incoming>
    </bpmn2:endEvent>
    <bpmn2:sequenceFlow id="SequenceFlow_2" name="" sourceRef="taskInMainFlow" targetRef="EndEvent_1"/>
    <bpmn2:subProcess id="eventSubProcess" triggeredByEvent="true">
      <bpmn2:extensionElements>
        <camunda:executionListener class="org.camunda.bpm.engine.test.util.TestExecutionListener" event="start"/>
        <camunda:executionListener class="org.camunda.bpm.engine.test.util.TestExecutionListener" event="end"/>
      </bpmn2:extensionElements>
      <bpmn2:startEvent id="startEventInSubProcess">
        <bpmn2:extensionElements>
          <camunda:executionListener class="org.camunda.bpm.engine.test.util.TestExecutionListener" event="start"/>
          <camunda:executionListener class="org.camunda.bpm.engine.test.util.TestExecutionListener" event="end"/>
        </bpmn2:extensionElements>
        <bpmn2:outgoing>SequenceFlow_3</bpmn2:outgoing>
        <bpmn2:messageEventDefinition id="_MessageEventDefinition_2" messageRef="Message_1"/>
      </bpmn2:startEvent>
      <bpmn2:userTask id="taskInEventSubProcess" name="Task In Event Subprocess">
        <bpmn2:extensionElements>
          <camunda:executionListener class="org.camunda.bpm.engine.test.util.TestExecutionListener" event="start"/>
          <camunda:executionListener class="org.camunda.bpm.engine.test.util.TestExecutionListener" event="end"/>
        </bpmn2:extensionElements>
        <bpmn2:incoming>SequenceFlow_3</bpmn2:incoming>
        <bpmn2:outgoing>SequenceFlow_4</bpmn2:outgoing>
      </bpmn2:userTask>
      <bpmn2:sequenceFlow id="SequenceFlow_3" name="" sourceRef="startEventInSubProcess" targetRef="taskInEventSubProcess"/>
      <bpmn2:endEvent id="endEventInSubProcess">
        <bpmn2:incoming>SequenceFlow_4</bpmn2:incoming>
      </bpmn2:endEvent>
      <bpmn2:sequenceFlow id="SequenceFlow_4" name="" sourceRef="taskInEventSubProcess" targetRef="endEventInSubProcess"/>
    </bpmn2:subProcess>
  </bpmn2:process>
  <bpmn2:message id="Message_1" name="message"/>
  <bpmndi:BPMNDiagram id="BPMNDiagram_1">
    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="testProcess">
      <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
        <dc:Bounds height="36.0" width="36.0" x="141.0" y="228.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_BPMNShape_UserTask_2" bpmnElement="taskInMainFlow">
        <dc:Bounds height="80.0" width="100.0" x="227.0" y="206.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_1" bpmnElement="SequenceFlow_1" sourceElement="_BPMNShape_StartEvent_2" targetElement="_BPMNShape_UserTask_2">
        <di:waypoint xsi:type="dc:Point" x="177.0" y="246.0"/>
        <di:waypoint xsi:type="dc:Point" x="227.0" y="246.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="_BPMNShape_EndEvent_2" bpmnElement="EndEvent_1">
        <dc:Bounds height="36.0" width="36.0" x="377.0" y="228.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_2" bpmnElement="SequenceFlow_2" sourceElement="_BPMNShape_UserTask_2" targetElement="_BPMNShape_EndEvent_2">
        <di:waypoint xsi:type="dc:Point" x="327.0" y="246.0"/>
        <di:waypoint xsi:type="dc:Point" x="377.0" y="246.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="_BPMNShape_SubProcess_2" bpmnElement="eventSubProcess" isExpanded="true">
        <dc:Bounds height="121.0" width="325.0" x="132.0" y="312.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_BPMNShape_StartEvent_3" bpmnElement="startEventInSubProcess">
        <dc:Bounds height="36.0" width="36.0" x="164.0" y="355.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_BPMNShape_UserTask_3" bpmnElement="taskInEventSubProcess">
        <dc:Bounds height="80.0" width="100.0" x="250.0" y="333.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_3" bpmnElement="SequenceFlow_3" sourceElement="_BPMNShape_StartEvent_3" targetElement="_BPMNShape_UserTask_3">
        <di:waypoint xsi:type="dc:Point" x="200.0" y="373.0"/>
        <di:waypoint xsi:type="dc:Point" x="250.0" y="373.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="_BPMNShape_EndEvent_3" bpmnElement="endEventInSubProcess">
        <dc:Bounds height="36.0" width="36.0" x="400.0" y="355.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_4" bpmnElement="SequenceFlow_4" sourceElement="_BPMNShape_UserTask_3" targetElement="_BPMNShape_EndEvent_3">
        <di:waypoint xsi:type="dc:Point" x="350.0" y="373.0"/>
        <di:waypoint xsi:type="dc:Point" x="400.0" y="373.0"/>
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn2:definitions>